"use strict";
const user = {
    id: 1,
    name: "xiaowang",
};
//array类型是数组,IUser类型数组
const array = [
    { id: 1, name: "xiaowang" },
    { id: 2, name: "xiaofei" },
];
const array2 = [
    {
        id: 1, classesName: "web32", teacher: {
            id: 1, name: "王"
        }
    },
    {
        id: 2, classesName: "web33", teacher: {
            id: 1, name: "刘"
        }
    }
];
const teachers = [
    { id: 1, name: "张" }
];
const student = {
    cardId: 1, stuName: "xiaowang", phoneNumber: "123", call: function () { }
};
function checkUser(user) {
    const array = [];
    array.push(user);
    return array;
}
checkUser({
    address: "",
    phone: ""
});
